package util;

import java.text.DateFormat;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Locale;

public class DateUtil {
	public static void main(String[] args) {
		Date d1 = new GregorianCalendar(2012, 11, 25).getTime();
		DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.FULL);	
		System.out.println(dateFormat.format(d1));
	}
	public static Date createDate(int day,int month, int year) {
		return new GregorianCalendar(year, month, day).getTime();
	}
}
